<div id="app" v-cloak>
    <el-form ref="form" :model="form" label-width="100px" style="margin: 10px">
        <el-form-item label="昵称">
            <mu-form input-type="text" v-model="form.nickname" placeholder="请输入昵称"></mu-form>
        </el-form-item>
        <el-form-item label="密码">
            <mu-form input-type="password" v-model="form.password" placeholder="输入为修改"></mu-form>
        </el-form-item>
        <el-form-item label="头像">
            <mu-form input-type="image" v-model="form.avatar"></mu-form>
        </el-form-item>
        <el-form-item label="邮箱">
            <mu-form input-type="text" v-model="form.email" placeholder=""></mu-form>
        </el-form-item>
        <el-form-item>
            <el-button type="primary" @click="onSubmit">立即修改</el-button>
        </el-form-item>
    </el-form>
</div>